/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package module2.exercise2.version1;

/**
 *
 * @author trang
 */
public class Vehicle {
    public   double load;
    public  double maxLoad;

// building a constructor to set maxLoad attribute
    public Vehicle(double maxLoad) {
        this.maxLoad = maxLoad;
    }
// building method
    public double getLoad() {
        return load;

    }

    public double getMaxLoad() {
        return maxLoad;
    }



        }





